package Node;

public class Node {
	public boolean val;
	public boolean isLeaf;
	public Node topLeft;
	public Node topRight;
	public Node bottomLeft;
	public Node bottomRight;
	
	public Node() {
		this.val = false;
		this.isLeaf = false;
		this.topLeft = null;
		this.topRight = null;
		this.bottomLeft = null;
		this.bottomRight = null;
	}
	
	public Node(boolean val,boolean isLeaf) {
		this.val = val;
		this.isLeaf = isLeaf;
		this.topLeft = null;
		this.topRight = null;
		this.bottomLeft = null;
		this.bottomRight = null;
	}
	
	public Node(boolean val,boolean isLeaf,Node topLeft,Node topRight,Node bottomLeft,Node bottomRight) {
		this.val = val;
		this.isLeaf = isLeaf;
		this.topLeft = topLeft;
		this.topRight = topRight;
		this.bottomLeft = bottomLeft;
		this.bottomRight = bottomRight;
	}
}
